<script setup lang="ts">
  import Player from 'xgplayer';

  onMounted(() => {
    new Player({
      id: 'vs',
      url: 'http://s2.pstatp.com/cdn/expire-1-M/byted-player-videos/1.0.0/xgplayer-demo.mp4',
      fluid: true,
    });
  });
</script>

<template>
  <div class="test-container">
    <div id="vs"></div>
  </div>
</template>

<style scoped lang="scss">
  .test-container {
    width: 200px;
    height: 200px;
  }
</style>
